package com.yfqy.admin.domain.dto.system;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ModifySysRole {

    @NotNull(message = "id不能为空")
    private Long id;

    @NotBlank(message = "角色编码不能为空")
    private String roleCode;

    /**
     * 按角色名称查询
     */
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

}
